-
Home
-
JetBackup – Backup, Restore & Migrate
-
3.1.12.3 (latest)
-
Code
-
Classes
- SFTP
| Total Complexity |
113 |
| Dependencies |
17 |
| Dependents |
4 |
| Total lines |
538 |
| Lines of code |
250 |
| Logical lines of code |
224 |
| Comment lines |
204 |
| Methods |
42 |
| Properties |
1 |
Methods 42
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| validateFields() |
B |
51 |
21 |
20 |
| connect() |
A |
52 |
10 |
20 |
| removeDir() |
A |
48 |
8 |
33 |
| getDiskInfo() |
A |
51 |
8 |
24 |
| setData() |
S |
62 |
9 |
10 |
| retries() |
S |
56 |
5 |
17 |
| createDir() |
S |
59 |
4 |
13 |
| removeFile() |
S |
60 |
4 |
12 |
| getFileStat() |
S |
58 |
3 |
14 |
| copyFileToRemote() |
S |
59 |
3 |
13 |
| copyFileToLocal() |
S |
61 |
3 |
11 |
| getRealPath() |
S |
75 |
2 |
4 |
| disconnect() |
S |
73 |
2 |
5 |
| dirExists() |
S |
75 |
2 |
4 |
| fileExists() |
S |
72 |
2 |
5 |
| protectedFields() |
S |
90 |
1 |
1 |
| _escapePath() |
S |
77 |
1 |
3 |
| getHost() |
S |
91 |
1 |
1 |
| setHost() |
S |
90 |
1 |
1 |
| getPort() |
S |
90 |
1 |
1 |
| setPort() |
S |
90 |
1 |
1 |
| getUsername() |
S |
91 |
1 |
1 |
| setUsername() |
S |
90 |
1 |
1 |
| getTimeout() |
S |
90 |
1 |
1 |
| setTimeout() |
S |
90 |
1 |
1 |
| getPassword() |
S |
91 |
1 |
1 |
| setPassword() |
S |
90 |
1 |
1 |
| getPrivateKey() |
S |
91 |
1 |
1 |
| setPrivateKey() |
S |
90 |
1 |
1 |
| getPassphrase() |
S |
91 |
1 |
1 |
| setPassphrase() |
S |
90 |
1 |
1 |
| getRetries() |
S |
90 |
1 |
1 |
| setRetries() |
S |
90 |
1 |
1 |
| getConnection() |
S |
77 |
1 |
4 |
| register() |
S |
98 |
1 |
1 |
| unregister() |
S |
98 |
1 |
1 |
| getData() |
S |
81 |
1 |
3 |
| copyFileToLocalChunked() |
S |
74 |
1 |
4 |
| copyFileToRemoteChunked() |
S |
74 |
1 |
4 |
| listDir() |
S |
75 |
1 |
4 |
| routineTasks() |
S |
98 |
1 |
1 |
| __destruct() |
S |
82 |
1 |
3 |